package Z004LiuChengkongZhi;

public class KZSwitch {
    public static void main(String[] args) {


        int day = 5;

        if (day == 1)
            System.out.println("星期一");
        else if (day == 2)
            System.out.println("星期二");
        else if (day == 3)
            System.out.println("星期三");
        else if (day == 4)
            System.out.println("星期四");
        else if (day == 5)
            System.out.println("星期五");
        else if (day == 6)
            System.out.println("星期六");
        else if (day == 7)
            System.out.println("星期日");


        switch (day){
            case(1):
                System.out.println("星期一");
                break;
            case(2):
                System.out.println("星期二");
                break;
            case(3):
                System.out.println("星期三");
                break;
            case(4):
                System.out.println("星期四");
                break;
            case(5):
                System.out.println("星期五");
                break;
            case(6):
                System.out.println("星期六");
                break;
            case(7):
                System.out.println("星期日");
                break;
            default:
                System.out.println("？？？");
        }

        // 练习 关于季节





    }

}
